OwnerIdentity.fromJson constructor

OwnerIdentity.fromJson(
  1. Map json_
)

Implementation

OwnerIdentity.fromJson(core.Map json_)
  : this(
      customerIdentity: json_.containsKey('customerIdentity')
          ? CustomerIdentity.fromJson(
              json_['customerIdentity']
                  as core.Map<core.String, core.dynamic>,
            )
          : null,
      groupIdentity: json_.containsKey('groupIdentity')
          ? GroupIdentity.fromJson(
              json_['groupIdentity'] as core.Map<core.String, core.dynamic>,
            )
          : null,
      sharedDriveIdentity: json_.containsKey('sharedDriveIdentity')
          ? SharedDriveIdentity.fromJson(
              json_['sharedDriveIdentity']
                  as core.Map<core.String, core.dynamic>,
            )
          : null,
      userIdentity: json_.containsKey('userIdentity')
          ? UserIdentity.fromJson(
              json_['userIdentity'] as core.Map<core.String, core.dynamic>,
            )
          : null,
    );