PackageModel.fromJson constructor
PackageModel.fromJson(
- String data
dart:convert
Parses the string and returns the resulting Json object as PackageModel.
Implementation
factory PackageModel.fromJson(String data) {
return PackageModel.fromMap(json.decode(data) as Map<String, dynamic>);
}