toJson method

Map<String, dynamic> toJson()

Implementation

core.Map<core.String, core.dynamic> toJson() {
  final createTime = this.createTime;
  final guaranteed = this.guaranteed;
  final name = this.name;
  final queueingPolicy = this.queueingPolicy;
  final reservationName = this.reservationName;
  final spot = this.spot;
  final state = this.state;
  final tpu = this.tpu;
  return {
    'createTime': ?createTime,
    'guaranteed': ?guaranteed,
    'name': ?name,
    'queueingPolicy': ?queueingPolicy,
    'reservationName': ?reservationName,
    'spot': ?spot,
    'state': ?state,
    'tpu': ?tpu,
  };
}