EventAttendee.fromJson constructor

EventAttendee.fromJson(
  1. Map json_
)

Implementation

EventAttendee.fromJson(core.Map json_)
    : this(
        additionalGuests: json_.containsKey('additionalGuests')
            ? json_['additionalGuests'] as core.int
            : null,
        comment: json_.containsKey('comment')
            ? json_['comment'] as core.String
            : null,
        displayName: json_.containsKey('displayName')
            ? json_['displayName'] as core.String
            : null,
        email:
            json_.containsKey('email') ? json_['email'] as core.String : null,
        id: json_.containsKey('id') ? json_['id'] as core.String : null,
        optional: json_.containsKey('optional')
            ? json_['optional'] as core.bool
            : null,
        organizer: json_.containsKey('organizer')
            ? json_['organizer'] as core.bool
            : null,
        resource: json_.containsKey('resource')
            ? json_['resource'] as core.bool
            : null,
        responseStatus: json_.containsKey('responseStatus')
            ? json_['responseStatus'] as core.String
            : null,
        self: json_.containsKey('self') ? json_['self'] as core.bool : null,
      );