AccountExternalAccountCreatedEventObject.fromJson constructor
AccountExternalAccountCreatedEventObject.fromJson(
- Object? json
Implementation
factory AccountExternalAccountCreatedEventObject.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 AccountExternalAccountCreatedEventObject: "$type"');
}
return factory(map);
}