DeletedExternalAccount.fromJson constructor
DeletedExternalAccount.fromJson(
- Object? json
Implementation
factory DeletedExternalAccount.fromJson(Object? json) {
final map = (json as Map).cast<String, Object?>();
final type = (map['object'] as String);
final factory = $mapping[type];
if (factory == null) {
throw ArgumentError('Unknown type of DeletedExternalAccount: "$type"');
}
return factory(map);
}