EventDateTime.fromJson constructor

EventDateTime.fromJson(
  1. Map json_
)

Implementation

EventDateTime.fromJson(core.Map json_)
    : this(
        date: json_.containsKey('date')
            ? core.DateTime.parse(json_['date'] as core.String)
            : null,
        dateTime: json_.containsKey('dateTime')
            ? core.DateTime.parse(json_['dateTime'] as core.String)
            : null,
        timeZone: json_.containsKey('timeZone')
            ? json_['timeZone'] as core.String
            : null,
      );