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