larksuite-oapi/src/main/java/com/larksuite/oapi/okhttp3_14/internal/Util.java
public static <K, V> Map<K, V> immutableMap(Map<K, V> map) {
    return map.isEmpty()
        ? Collections.emptyMap()
        : Collections.unmodifiableMap(new LinkedHashMap<>(map));
  }
/** Returns an immutable copy of {@code map}. */
Returns an immutable copy of  map.
Returns an immutable copy of map .
public static <K, V> Map<K, V> immutableMap(Map<K, V> map) {
    return map.isEmpty()
        ? Collections.emptyMap()
        : Collections.unmodifiableMap(new LinkedHashMap<>(map));
  }
public static < K , V > Map < K , V > immutableMap ( Map < K , V > map ) { return map . isEmpty ( ) ? Collections . emptyMap ( ) : Collections . unmodifiableMap ( new LinkedHashMap < > ( map ) ) ; }
Returns an immutable copy of {@code map}.
Returns an immutable copy of { @code map } .