isSecureUrl function

bool isSecureUrl(
  1. Object? input
)

Implementation

bool isSecureUrl(Object? input) {
  String? url;
  if (input == null) {
    return false;
  } else if (input is String) {
    url = input.toLowerCase();
  }
  return url?.startsWith('https://') ?? false;
}