toJson method

  1. @override
Map<String, dynamic> toJson(
  1. UServiceLabel object
)

Implementation

@override
Map<String, dynamic> toJson(UServiceLabel object) => object.when(
      selfLabels: const SelfLabelsConverter().toJson,
      unknown: (data) => data,
    );