toJson method

Map<String, Object> toJson()

Converts a FlowDistinguisherMethod instance to JSON data.

Implementation

Map<String, Object> toJson() {
  final jsonData = <String, Object>{};

  final tempType = type;

  jsonData['type'] = tempType;

  return jsonData;
}