toJson method

Map<String, Object?> toJson()

Implementation

Map<String, Object?> toJson() {
  var options = this.options;

  final json = <String, Object?>{};
  json[r'options'] = options.map((i) => i.toJson()).toList();
  return json;
}