SasPortalSetPolicyRequest.fromJson constructor

SasPortalSetPolicyRequest.fromJson(
  1. Map _json
)

Implementation

SasPortalSetPolicyRequest.fromJson(core.Map _json)
    : this(
        disableNotification: _json.containsKey('disableNotification')
            ? _json['disableNotification'] as core.bool
            : null,
        policy: _json.containsKey('policy')
            ? SasPortalPolicy.fromJson(
                _json['policy'] as core.Map<core.String, core.dynamic>)
            : null,
        resource: _json.containsKey('resource')
            ? _json['resource'] as core.String
            : null,
      );