toJson property

  1. @override
Object toJson

Implementation

@override
Object get toJson => {
  'name': _label.toLowerCase(),
  'description': _description,
  'type': _type.type,
  'options': _options.map((option) => option.toJson).toList(),
};