extension StringExtensions on String? { bool isNullOrEmpty() { return this == null || this!.isEmpty; } bool isNotNullOrEmpty() { return this != null && this!.isNotEmpty; } String? isValidEmail() { final expression = RegExp( r"""^((?:[A-Za-z0-9!#$%&\'*+\-\/=?^_`{|}~]|(?<=^|\.)"|"(?=$|\.|@)|(?<=".*)[ .](?=.*")|(?