fromMap static method

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

Gets a possible FetchRequestCredentialDefault instance from a Map value.

Implementation

static FetchRequestCredentialDefault? fromMap(Map<String, dynamic>? map) {
  if (map == null) {
    return null;
  }
  final instance = FetchRequestCredentialDefault(
    value: map['value'],
  );
  instance.type = map['type'];
  return instance;
}