AccountIdentifier.fromJson constructor

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

Create a new AccountIdentifier instance by parsing a JSON map.

Implementation

factory AccountIdentifier.fromJson(Map<String, dynamic> json) {
  return AccountIdentifier(
      address: OnChainUtils.parseTronAddress(
          value: json['address'], name: 'address'));
}