PodfileConfig.fromYaml constructor

PodfileConfig.fromYaml(
  1. YamlMap m
)

Parses the podfile: sub-map.

Implementation

factory PodfileConfig.fromYaml(YamlMap m) {
  return PodfileConfig(
    platformVersion: m['platform_version'] is String
        ? m['platform_version'] as String
        : null,
    pods: _stringList(m['pods']),
  );
}