toJson method

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

Returns this as a serializable JSON value.

Implementation

@override
Map<String, Object?> toJson() => {
  'runtimeType': 'YMapDeltaAction',
  _spec.labels[index]: null,
};