toJson method

Map<String, dynamic> toJson()

Implementation

core.Map<core.String, core.dynamic> toJson() => {
      if (creationDisabled != null) 'creationDisabled': creationDisabled!,
      if (imageVersionId != null) 'imageVersionId': imageVersionId!,
      if (isDefault != null) 'isDefault': isDefault!,
      if (releaseDate != null) 'releaseDate': releaseDate!,
      if (supportedPythonVersions != null)
        'supportedPythonVersions': supportedPythonVersions!,
      if (upgradeDisabled != null) 'upgradeDisabled': upgradeDisabled!,
    };