NotificationEndpointGrpcSettings.fromJson constructor

NotificationEndpointGrpcSettings.fromJson(
  1. Map json_
)

Implementation

NotificationEndpointGrpcSettings.fromJson(core.Map json_)
  : this(
      authority: json_['authority'] as core.String?,
      endpoint: json_['endpoint'] as core.String?,
      payloadName: json_['payloadName'] as core.String?,
      resendInterval:
          json_.containsKey('resendInterval')
              ? Duration.fromJson(
                json_['resendInterval']
                    as core.Map<core.String, core.dynamic>,
              )
              : null,
      retryDurationSec: json_['retryDurationSec'] as core.int?,
    );