toJson method

Map<String, dynamic> toJson()

Implementation

core.Map<core.String, core.dynamic> toJson() {
  final preemptible = this.preemptible;
  final reserved = this.reserved;
  final spot = this.spot;
  return {'preemptible': ?preemptible, 'reserved': ?reserved, 'spot': ?spot};
}