fromMap static method
Gets a possible FetchRequestFederatedCredential instance from a Map value.
Implementation
static FetchRequestFederatedCredential? fromMap(Map<String, dynamic>? map) {
if (map == null) {
return null;
}
final instance = FetchRequestFederatedCredential(
iconURL: map['iconURL'] != null ? WebUri(map['iconURL']) : null,
id: map['id'],
name: map['name'],
protocol: map['protocol'],
provider: map['provider'],
);
instance.type = map['type'];
return instance;
}