isValidOrigin property
bool
get
isValidOrigin
Implementation
bool get isValidOrigin {
return Uri.parse(origin ?? '').authority ==
Uri.parse(UrlConstants.secureDashboard).authority;
}
bool get isValidOrigin {
return Uri.parse(origin ?? '').authority ==
Uri.parse(UrlConstants.secureDashboard).authority;
}