toJson method

Map<String, dynamic> toJson()

Implementation

core.Map<core.String, core.dynamic> toJson() {
  final autoDelete = this.autoDelete;
  final boot = this.boot;
  final deviceName = this.deviceName;
  final diskEncryptionKey = this.diskEncryptionKey;
  final diskInterface = this.diskInterface;
  final diskSizeGb = this.diskSizeGb;
  final diskType = this.diskType;
  final diskTypeDeprecated = this.diskTypeDeprecated;
  final guestOsFeature = this.guestOsFeature;
  final index = this.index;
  final initializeParams = this.initializeParams;
  final kind = this.kind;
  final license = this.license;
  final mode = this.mode;
  final savedState = this.savedState;
  final source = this.source;
  final type = this.type;
  return {
    'autoDelete': ?autoDelete,
    'boot': ?boot,
    'deviceName': ?deviceName,
    'diskEncryptionKey': ?diskEncryptionKey,
    'diskInterface': ?diskInterface,
    'diskSizeGb': ?diskSizeGb,
    'diskType': ?diskType,
    'diskTypeDeprecated': ?diskTypeDeprecated,
    'guestOsFeature': ?guestOsFeature,
    'index': ?index,
    'initializeParams': ?initializeParams,
    'kind': ?kind,
    'license': ?license,
    'mode': ?mode,
    'savedState': ?savedState,
    'source': ?source,
    'type': ?type,
  };
}