FontFace constructor

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

Implementation

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);
}