toJson method

Map<String, dynamic> toJson()

Implementation

Map<String, dynamic> toJson() {
  final _json = <String, dynamic>{};
    _json[r'endpoint'] = endpoint;
    _json[r'id'] = id;
    _json[r'name'] = name;
    _json[r'type'] = type;
  return _json;
}