CustomFontEntity.fromJson constructor

CustomFontEntity.fromJson(
  1. Map<String, dynamic> json
)

Implementation

factory CustomFontEntity.fromJson(Map<String, dynamic> json) {
  return CustomFontEntity(
    name: json['file_name'],
    publicUrl: json['public_url'],
  );
}