TypedExtra class

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

Constructors

TypedExtra()

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

Constants

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