toJson method

Map<String, dynamic> toJson()

Implementation

core.Map<core.String, core.dynamic> toJson() {
  final backupPlan = this.backupPlan;
  final cluster = this.cluster;
  final createTime = this.createTime;
  final description = this.description;
  final etag = this.etag;
  final labels = this.labels;
  final name = this.name;
  final restoreChannel = this.restoreChannel;
  final restoreConfig = this.restoreConfig;
  final state = this.state;
  final stateReason = this.stateReason;
  final uid = this.uid;
  final updateTime = this.updateTime;
  return {
    'backupPlan': ?backupPlan,
    'cluster': ?cluster,
    'createTime': ?createTime,
    'description': ?description,
    'etag': ?etag,
    'labels': ?labels,
    'name': ?name,
    'restoreChannel': ?restoreChannel,
    'restoreConfig': ?restoreConfig,
    'state': ?state,
    'stateReason': ?stateReason,
    'uid': ?uid,
    'updateTime': ?updateTime,
  };
}