parse method

AccountRef parse()

Implementation

AccountRef parse() {
  final split = this.split('/');
  final accountRef = AccountRef()
    ..ledgerId = split.first
    ..accountId = hex.decode(split.last);
  return accountRef;
}