FontFace constructor

FontFace(String family, Object source, [ 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);
}