SasPortalNode.fromJson constructor

SasPortalNode.fromJson(
  1. Map _json
)

Implementation

SasPortalNode.fromJson(core.Map _json)
    : this(
        displayName: _json.containsKey('displayName')
            ? _json['displayName'] as core.String
            : null,
        name: _json.containsKey('name') ? _json['name'] as core.String : null,
        sasUserIds: _json.containsKey('sasUserIds')
            ? (_json['sasUserIds'] as core.List)
                .map<core.String>((value) => value as core.String)
                .toList()
            : null,
      );