SasPortalPolicy.fromJson constructor

SasPortalPolicy.fromJson(
  1. Map _json
)

Implementation

SasPortalPolicy.fromJson(core.Map _json)
    : this(
        assignments: _json.containsKey('assignments')
            ? (_json['assignments'] as core.List)
                .map<SasPortalAssignment>((value) =>
                    SasPortalAssignment.fromJson(
                        value as core.Map<core.String, core.dynamic>))
                .toList()
            : null,
        etag: _json.containsKey('etag') ? _json['etag'] as core.String : null,
      );