FontConfig.fromYaml constructor

FontConfig.fromYaml(
  1. YamlMap map
)

Constructs a FontConfig from a yaml.

Implementation

FontConfig.fromYaml(YamlMap map)
    : family = map['family'] as String,
      flutterName = map['flutterName'] as String;