NotificationEndpointsScopedList.fromJson constructor

NotificationEndpointsScopedList.fromJson(
  1. Map json_
)

Implementation

NotificationEndpointsScopedList.fromJson(core.Map json_)
  : this(
      resources: (json_['resources'] as core.List?)
          ?.map(
            (value) => NotificationEndpoint.fromJson(
              value as core.Map<core.String, core.dynamic>,
            ),
          )
          .toList(),
      warning: json_.containsKey('warning')
          ? NotificationEndpointsScopedListWarning.fromJson(
              json_['warning'] as core.Map<core.String, core.dynamic>,
            )
          : null,
    );