AwesomeAssertUtils class

Constructors

AwesomeAssertUtils()

Properties

hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited

Static Methods

enumToString<T extends Enum>(String enumValue, List<T> values, T? defaultValue) → T?
extractEnum<T extends Enum>(String reference, Map dataMap, List<T> values) → T?
extractMap<T, C>(String reference, Map dataMap) → dynamic
extractValue<T>(String reference, Map dataMap) → dynamic
fromListMap<T extends Model>(Object? mapData, Function newModel) List<T>?
getValueOrDefault<T>(String reference, dynamic value) → T?
isNullOrEmptyOrInvalid<T>(dynamic value) bool
toListMap<T extends Model>(List<T>? list) List<Map<String, Object>>?
toSimpleEnumString<T extends Enum>(T? e) String?