StrapiUtils class

helpers for simple_strapi package

Constructors

StrapiUtils()

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(dynamic enumConstant) String
from dart enum to string, calling this by passing Some.enumarator will give you enumarator
objFromListOfMap<T>(dynamic data, T? forEach(dynamic)) List<T>
objFromMap<T>(dynamic data, T? returner(dynamic)) → T?
parseBool(dynamic source) bool
parseDateTime(dynamic source) DateTime?
parseDouble(dynamic source) double?
parseInt(dynamic source) int?
toEnum<T>(List<T> enums, String? name) → T?
from string to dart enum