FontFace构造函数

FontFace(
  1. String family,
  2. Object source,
  3. [Map? descriptors]
)

实现细节

factory FontFace(String family, Object source, [Map? descriptors]) {
  if (descriptors != null) {
    var descriptors_1 = convertDartToNative_Dictionary(descriptors);
    return FontFace._create_1(family, source, descriptors_1);
  }
  return FontFace._create_2(family, source);
}