Principal.fromJson constructor

Principal.fromJson(
  1. Map json_
)

Implementation

Principal.fromJson(core.Map json_)
    : this(
        groupResourceName: json_.containsKey('groupResourceName')
            ? json_['groupResourceName'] as core.String
            : null,
        gsuitePrincipal: json_.containsKey('gsuitePrincipal')
            ? GSuitePrincipal.fromJson(json_['gsuitePrincipal']
                as core.Map<core.String, core.dynamic>)
            : null,
        userResourceName: json_.containsKey('userResourceName')
            ? json_['userResourceName'] as core.String
            : null,
      );