util/parser library
Functions
-
parseBool(
dynamic value, {bool defaultValue = false}) → bool - bool parser utility methods
-
parseColor(
String? value, {Color defaultColor = Colors.black}) → Color - Color parser utility methods
-
parseDateTime(
dynamic value, {DateTime? defaultValue}) → DateTime - DateTime parser utility methods
-
parseDouble(
dynamic value, {double defaultValue = 0.0}) → double - double parser utility methods
-
parseInt(
dynamic value, {int defaultValue = 0}) → int - int parser utility methods
-
tryParseBool(
dynamic value) → bool? -
tryParseColor(
String? value) → Color? -
tryParseDateTime(
dynamic value) → DateTime? -
tryParseDouble(
dynamic value) → double? -
tryParseInt(
dynamic value) → int?