toJson method

  1. @override
Map<String, Object?> toJson()
override

Implementation

@override
Map<String, Object?> toJson() {
  return {
    'variantType': 'list',
    'values': values.map((e) => e.toJson()).toList(),
  };
}