Account.fromJson constructor

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

Implementation

factory Account.fromJson(Map<String, dynamic> json) {
  return Account(
    chain: json['chain'] as String,
    networkId: json['networkId'] as int,
    address: json['address'] as String,
  );
}