ListCallbacksResponse.fromJson constructor

ListCallbacksResponse.fromJson(
  1. Map json_
)

Implementation

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