PushFile class
Constructors
Properties
- content ↔ String?
-
Content is the file's bytes, carried per Encoding.
getter/setter pair
- encoding ↔ String?
-
Encoding is "base64", or "utf-8" (the default, also "utf8" / "text").
getter/setter pair
- hashCode → int
-
The hash code for this object.
no setteroverride
- path ↔ String?
-
Path is repo-relative. Absolute or traversing paths are refused.
getter/setter pair
- 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
-
toJson(
) → Map< String, dynamic> -
toString(
) → String -
A string representation of this object.
override
Operators
-
operator ==(
Object other) → bool -
The equality operator.
override
Static Methods
-
fromJson(
dynamic value) → PushFile? -
Returns a new PushFile instance and imports its values from
valueif it's a Map, null otherwise. -
listFromJson(
dynamic json, {bool growable = false}) → List< PushFile> -
mapFromJson(
dynamic json) → Map< String, PushFile> -
mapListFromJson(
dynamic json, {bool growable = false}) → Map< String, List< PushFile> >
Constants
-
requiredKeys
→ const Set<
String> - The list of required keys that must be present in a JSON.