PowerData class

Inheritance

Constructors

PowerData(Map rawData)

Properties

hashCode int
The hash code for this object.
no setterinherited
is_charging bool?
getter/setter pair
level num?
getter/setter pair
rawData Map
return original data json
getter/setter pairinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
special_type String?
getter/setter pair

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toJson() Map
return original data json
inherited
toMap() Map
return original data json
inherited
toString() String
return string data encode json original data
inherited
toStringPretty() String
return string data encode json original data
inherited
utils_filter_by_keys(List keys) Map
return original data json
inherited
utils_remove_by_keys(List keys) Map
return original data json
inherited
utils_remove_by_keys_void(List keys) → void
inherited
utils_remove_by_values(List values) Map
return original data json
inherited
utils_remove_by_values_void(List values) → void
return original data json
inherited
utils_remove_values_null() Map
return original data json
inherited
utils_remove_values_null_void() → void
return original data json
inherited

Operators

operator *(dynamic value) → dynamic
operator map data
inherited
operator +(dynamic value) Map
operator map data
inherited
operator -(dynamic value) Map
return original data json
inherited
operator /(dynamic value) → dynamic
operator map data
inherited
operator ==(Object other) bool
The equality operator.
inherited
operator [](dynamic key) → dynamic
operator map data
inherited
operator []=(dynamic key, dynamic value) → void
operator map data
inherited

Static Properties

defaultData Map
return default data
no setter

Static Methods

create({bool schemeUtilsIsSetDefaultData = false, String special_type = "powerData", num? level, bool? is_charging}) PowerData
return original data json
override
empty() PowerData
create PowerData Empty
override