NotificationEndpointGrpcSettings.fromJson constructor

NotificationEndpointGrpcSettings.fromJson(
  1. Map json_
)

Implementation

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