LanguagePackStrings.fromJson constructor

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

Parse from a json

Implementation

factory LanguagePackStrings.fromJson(Map<String, dynamic> json) => LanguagePackStrings(
  strings: List<LanguagePackString>.from((json['strings'] ?? []).map((item) => LanguagePackString.fromJson(item)).toList()),
  extra: json['@extra'],
  clientId: json['@client_id'],
);