AccountIdentifier.fromJson constructor

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

Implementation

factory AccountIdentifier.fromJson(Map<String, dynamic> map) {
  return AccountIdentifier(
    map['address'],
    map['sub_account'] != null
        ? SubAccountIdentifier.fromJson(map['sub_account'])
        : null,
    map['metadata'],
  );
}