Country constructor

Country(
  1. String name,
  2. String code,
  3. int prefix,
  4. LengthRule length,
)

Implementation

Country(this.name, this.code, this.prefix, this.length)
    : _prefixStr = prefix.toString(),
      prefixLength = prefix.toString().length;