toJson method

Map<String, dynamic> toJson()
override

Implementation

Map<String, dynamic> toJson() => {
      'name': name,
      'description': description,
      'id': id,
      'chosen_value': chosenValue,
      'read_only': readOnly,
      'long': long,
      'time': time,
      'long': long
    };