Target.fromJson constructor

Target.fromJson(
  1. Map json_
)

Implementation

Target.fromJson(core.Map json_)
    : this(
        drive: json_.containsKey('drive')
            ? Drive.fromJson(
                json_['drive'] as core.Map<core.String, core.dynamic>)
            : null,
        driveItem: json_.containsKey('driveItem')
            ? DriveItem.fromJson(
                json_['driveItem'] as core.Map<core.String, core.dynamic>)
            : null,
        fileComment: json_.containsKey('fileComment')
            ? FileComment.fromJson(
                json_['fileComment'] as core.Map<core.String, core.dynamic>)
            : null,
        teamDrive: json_.containsKey('teamDrive')
            ? TeamDrive.fromJson(
                json_['teamDrive'] as core.Map<core.String, core.dynamic>)
            : null,
      );