CalendarOptions.fromJson constructor

CalendarOptions.fromJson(
  1. Map json_
)

Implementation

CalendarOptions.fromJson(core.Map json_)
    : this(
        locationQuery: json_.containsKey('locationQuery')
            ? (json_['locationQuery'] as core.List)
                .map((value) => value as core.String)
                .toList()
            : null,
        minusWords: json_.containsKey('minusWords')
            ? (json_['minusWords'] as core.List)
                .map((value) => value as core.String)
                .toList()
            : null,
        peopleQuery: json_.containsKey('peopleQuery')
            ? (json_['peopleQuery'] as core.List)
                .map((value) => value as core.String)
                .toList()
            : null,
        responseStatuses: json_.containsKey('responseStatuses')
            ? (json_['responseStatuses'] as core.List)
                .map((value) => value as core.String)
                .toList()
            : null,
        versionDate: json_.containsKey('versionDate')
            ? json_['versionDate'] as core.String
            : null,
      );