EventSeat.fromJson constructor

EventSeat.fromJson(
  1. Map json_
)

Implementation

EventSeat.fromJson(core.Map json_)
    : this(
        gate: json_.containsKey('gate')
            ? LocalizedString.fromJson(
                json_['gate'] as core.Map<core.String, core.dynamic>)
            : null,
        kind: json_.containsKey('kind') ? json_['kind'] as core.String : null,
        row: json_.containsKey('row')
            ? LocalizedString.fromJson(
                json_['row'] as core.Map<core.String, core.dynamic>)
            : null,
        seat: json_.containsKey('seat')
            ? LocalizedString.fromJson(
                json_['seat'] as core.Map<core.String, core.dynamic>)
            : null,
        section: json_.containsKey('section')
            ? LocalizedString.fromJson(
                json_['section'] as core.Map<core.String, core.dynamic>)
            : null,
      );