TeamDriveBackgroundImageFile.fromJson constructor

TeamDriveBackgroundImageFile.fromJson(
  1. Map json_
)

Implementation

TeamDriveBackgroundImageFile.fromJson(core.Map json_)
    : this(
        id: json_.containsKey('id') ? json_['id'] as core.String : null,
        width: json_.containsKey('width')
            ? (json_['width'] as core.num).toDouble()
            : null,
        xCoordinate: json_.containsKey('xCoordinate')
            ? (json_['xCoordinate'] as core.num).toDouble()
            : null,
        yCoordinate: json_.containsKey('yCoordinate')
            ? (json_['yCoordinate'] as core.num).toDouble()
            : null,
      );