Balance.fromJson constructor

Balance.fromJson(
  1. Map<String, dynamic> map,
  2. String address
)

Implementation

factory Balance.fromJson(Map<String, dynamic> map, String address) {
  final data = map[address] as Map<String, dynamic>;
  return Balance.fromData(data, address);
}