toJson method

Map<String, dynamic> toJson()

Implementation

Map<String, dynamic> toJson() {
  final _json = <String, dynamic>{};
  _json[r'name'] = name;
  _json[r'display_name'] = displayName;
  _json[r'source'] = source_;
  _json[r'allow_reference'] = allowReference;
  return _json;
}