toJson method

Map<String, dynamic> toJson()

Implementation

Map<String, dynamic> toJson() {
  Map<String, dynamic> result = {};

  result['name'] = name;
  result['type'] = type;
  result['listLevel'] = listLevel;
  result['path'] = path;
  result['refStructure'] = refStructure?.toJson();

  return result;
}