checkData method

void checkData()

Implementation

void checkData() {
  if (Common.email == null && Common.phone == null) {
    try {
      throw Exception('Email or phone not setted');
    } catch (e) {
      print(e);
    }
  }
}