fromMap static method
Gets a possible SecurityOrigin instance from a Map value.
Implementation
static SecurityOrigin? fromMap(Map<String, dynamic>? map) {
if (map == null) {
return null;
}
final instance = SecurityOrigin(
host: map['host'],
port: map['port'],
protocol: map['protocol'],
);
return instance;
}