bankId property

String? get bankId

Implementation

String? get bankId {
  for (final a in this) {
    switch (a.typeUrl) {
      case withdrawTypeUrl:
        return Withdraw.fromBuffer(a.value).bankAccountId;
      case depositTypeUrl:
        return Deposit.fromBuffer(a.value).bankAccountId;
    }
  }
  return null;
}