ScriptFontFamilies.fromJson constructor

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

Implementation

factory ScriptFontFamilies.fromJson(Map<String, dynamic> json) {
  return ScriptFontFamilies(
    script: json['script'] as String,
    fontFamilies:
        FontFamilies.fromJson(json['fontFamilies'] as Map<String, dynamic>),
  );
}