ListRoutinesResponse.fromJson constructor

ListRoutinesResponse.fromJson(
  1. Map json_
)

Implementation

ListRoutinesResponse.fromJson(core.Map json_)
    : this(
        nextPageToken: json_.containsKey('nextPageToken')
            ? json_['nextPageToken'] as core.String
            : null,
        routines: json_.containsKey('routines')
            ? (json_['routines'] as core.List)
                .map((value) => Routine.fromJson(
                    value as core.Map<core.String, core.dynamic>))
                .toList()
            : null,
      );