toJson method

Map<String, dynamic> toJson()

Convert to JSON.

Implementation

Map<String, dynamic> toJson() => {
      'id': id,
      'name': name,
      'baseUrl': baseUrl,
      'socketUrl': socketUrl,
      'description': description,
      'config': config,
      'isActive': isActive,
    };