Organizer.fromJson constructor

Organizer.fromJson(
  1. Map<String, dynamic> json
)

Creates a new instance of Organizer from a JSON object.

The JSON object should contain keys that correspond to the parameters of Organizer.

Implementation

factory Organizer.fromJson(Map<String, dynamic> json) {
  return Organizer(
    emailAddress: EmailAddress.fromJson(json['emailAddress']),
  );
}