domain property

String? get domain

Implementation

String? get domain {
  try {
    if (redirectUrl?.isNotEmpty == true) {
      return Uri.parse(redirectUrl!).host;
    } else {
      return null;
    }
  } catch (e) {
    return null;
  }
}