FontsData.fromMap constructor

FontsData.fromMap(
  1. Map map
)

Implementation

factory FontsData.fromMap(Map map) {
  return FontsData(
    asset: map['asset'] as String,
    weight: map['weight'],
  );
}