addEmail method

void addEmail(
  1. String email, [
  2. String? type
])

Implementation

void addEmail(String email, [String? type]) {
  _emails ??= [];
  _emailTypes ??= [];
  _emails!.add(email);
  _emailTypes!.add(type);
}