ListAlertsResponse.fromJson constructor

ListAlertsResponse.fromJson(
  1. Map json_
)

Implementation

ListAlertsResponse.fromJson(core.Map json_)
  : this(
      alerts: (json_['alerts'] as core.List?)
          ?.map(
            (value) =>
                Alert.fromJson(value as core.Map<core.String, core.dynamic>),
          )
          .toList(),
      nextPageToken: json_['nextPageToken'] as core.String?,
      totalSize: json_['totalSize'] as core.int?,
    );