CustomerSourceCreatedEvent.fromJson constructor

CustomerSourceCreatedEvent.fromJson(
  1. Object? json
)

Implementation

factory CustomerSourceCreatedEvent.fromJson(Object? json) {
  final map = (json as Map).cast<String, Object?>();
  return CustomerSourceCreatedEvent(
      object:
          AccountExternalAccountCreatedEventObject.fromJson(map['object']));
}