Font.fromJson constructor

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

Implementation

factory Font.fromJson(Map<String, dynamic> json) {
  return Font(family: json['family'], scale: json['scale']);
}