toYaml method
Serializes to the yaml section's map shape.
Implementation
Map<String, String> toYaml() {
return {
'name': name,
'apiType': apiType,
'baseUrl': baseUrl,
'keyName': ?keyName,
'authMethod': authMethod.name,
'modelId': modelId,
};
}