AnyMap.fromJson constructor

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

Implementation

AnyMap.fromJson(Map<String, dynamic> json) {
  key1 = json["key1"];
  key2 = json["key2"];
}