toJson method

Map<String, Object> toJson()

Converts a PriorityLevelConfigurationReference instance to JSON data.

Implementation

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

  final tempName = name;

  jsonData['name'] = tempName;

  return jsonData;
}