toJson method

  1. @override
List<String> toJson()
override

Converts the object to a JSON representation.

Implementation

@override
List<String> toJson() {
  return values.map((e) => e.toString()).toList();
}