fromMap static method

IOSWKSecurityOrigin? fromMap(
  1. Map<String, dynamic>? map
)

Gets a possible IOSWKSecurityOrigin instance from a Map value.

Implementation

static IOSWKSecurityOrigin? fromMap(Map<String, dynamic>? map) {
  if (map == null) {
    return null;
  }
  final instance = IOSWKSecurityOrigin(
    host: map['host'],
    port: map['port'],
    protocol: map['protocol'],
  );
  return instance;
}