toJson method

Map<String, dynamic> toJson()

Implementation

Map<String, dynamic> toJson() {
  final json = <String, dynamic>{};
    json[r'id'] = this.id;
    json[r'object'] = this.object;
  if (this.created != null) {
    json[r'created'] = this.created;
  } else {
    json[r'created'] = null;
  }
    json[r'ready'] = this.ready;
  return json;
}