addAddress method

void addAddress(
  1. String address, [
  2. String? type
])

Implementation

void addAddress(String address, [String? type]) {
  _addresses ??= [];
  _addressTypes ??= [];
  _addresses!.add(address);
  _addressTypes!.add(type);
}