toJSON method

  1. @override
dynamic toJSON()
override

Implementation

@override
toJSON() {
  return value?.map((element) => element.toJSON()).toList();
}