isBIC function

bool isBIC(
  1. String str
)

Implementation

bool isBIC(String str) {
  final isBICReg = RegExp(r'/^[A-z]{4}[A-z]{2}\w{2}(\w{3})?$/');

  return isBICReg.hasMatch(str);
}