FreeBusyGroup.fromJson constructor

FreeBusyGroup.fromJson(
  1. Map json_
)

Implementation

FreeBusyGroup.fromJson(core.Map json_)
    : this(
        calendars: json_.containsKey('calendars')
            ? (json_['calendars'] as core.List)
                .map((value) => value as core.String)
                .toList()
            : null,
        errors: json_.containsKey('errors')
            ? (json_['errors'] as core.List)
                .map((value) => Error.fromJson(
                    value as core.Map<core.String, core.dynamic>))
                .toList()
            : null,
      );