toYaml abstract method

String toYaml({
  1. required String name,
})

Returns the YAML-formatted source, using name as a key, for writing into a pubspec 'dependencies' section.

Implementation

String toYaml({required String name});