toYaml method

Map<String, String> toYaml()

Serializes to the yaml section's map shape.

Implementation

Map<String, String> toYaml() {
  return {
    'name': name,
    'apiType': apiType,
    'baseUrl': baseUrl,
    'keyName': ?keyName,
    'modelId': modelId,
  };
}