hrk_batteries library
Classes
- DistanceUnit
- Unit
-
ValueRange<
V, U extends Unit> -
ValueUnit<
V, U extends Unit> - VelocityUnit
Enums
Extensions
- DistanceExt on Distance
- HrkDateTime on DateTime
- HrkPubspec on Pubspec
- HrkString on String
- HttpResponseStatusCode on int
- VelocityExt on Velocity
Constants
- jsonEncoderPretty → const JsonEncoder
- profileModeKey → const String
- releaseModeKey → const String
Functions
-
getBuildModeString(
) → String -
isDartOrFlutterTest(
) → bool -
isDartTest(
) → bool -
isDebugMode(
) → bool -
isFlutterIntegrationTest(
) → bool -
For Integration Test run as
flutter test
orflutter drive
,FLUTTER_TEST
needs to be passed as --dart-define="FLUTTER_TEST=true" -
isFlutterTest(
) → bool -
isProfileMode(
) → bool -
isReleaseMode(
) → bool
Typedefs
-
Distance
= ValueUnit<
double, DistanceUnit> -
DistanceRange
= ValueRange<
double, DistanceUnit> - FromJsonFunction = dynamic Function(JsonMap)
-
JsonMap
= Map<
String, dynamic> -
Velocity
= ValueUnit<
double, VelocityUnit>