TypedExtra class

This class holds some constant strings for user accessibility, so that end users don't need to hardcode type information in updated Intent.putExtra(String extra, dynamic data, {String type}) method which aims to facilitate better type handling for Intent data.

Prior to it, all extra passed to Intent, were getting type casted to String, which was bad implementation - trying to improve that

This won't break any existing codebase




hashCode int
The hash code for this object.
read-only, inherited
runtimeType Type
A representation of the runtime type of the object.
read-only, inherited


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


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


booleanExtra → const String
singular type information
booleanListExtra → const String
collection types from aforementioned types
byteExtra → const String
byteListExtra → const String
charExtra → const String
charListExtra → const String
doubleExtra → const String
doubleListExtra → const String
floatExtra → const String
floatListExtra → const String
intExtra → const String
intListExtra → const String
longExtra → const String
longListExtra → const String
shortExtra → const String
shortListExtra → const String
stringExtra → const String
stringListExtra → const String