toJson method

Map<String, dynamic> toJson()

Convert environment to JSON

Implementation

Map<String, dynamic> toJson() {
  return {
    'name': name,
    'baseUrl': baseUrl,
    'config': config,
    'isDefault': isDefault,
    'description': description,
  };
}