FormatHelper extension

on
  • dynamic

Methods

asBool({bool? def}) bool

Available on dynamic, provided by the FormatHelper extension

asCast<T>({T? def}) → T?

Available on dynamic, provided by the FormatHelper extension

asDateTime({DateTime? def}) DateTime?

Available on dynamic, provided by the FormatHelper extension

asDouble({double? def}) double

Available on dynamic, provided by the FormatHelper extension

asInt({int? def}) int

Available on dynamic, provided by the FormatHelper extension

asList<T>({List<T>? def}) List<T>

Available on dynamic, provided by the FormatHelper extension

asNum({num? def}) num

Available on dynamic, provided by the FormatHelper extension

asObjectId({ObjectId? def}) → ObjectId

Available on dynamic, provided by the FormatHelper extension

asString({String? def, bool trim = true}) String

Available on dynamic, provided by the FormatHelper extension