Owner.fromJson constructor

Owner.fromJson(
  1. Map json_
)

Implementation

Owner.fromJson(core.Map json_)
    : this(
        domain: json_.containsKey('domain')
            ? Domain.fromJson(
                json_['domain'] as core.Map<core.String, core.dynamic>)
            : null,
        drive: json_.containsKey('drive')
            ? DriveReference.fromJson(
                json_['drive'] as core.Map<core.String, core.dynamic>)
            : null,
        teamDrive: json_.containsKey('teamDrive')
            ? TeamDriveReference.fromJson(
                json_['teamDrive'] as core.Map<core.String, core.dynamic>)
            : null,
        user: json_.containsKey('user')
            ? User.fromJson(
                json_['user'] as core.Map<core.String, core.dynamic>)
            : null,
      );