DocumentPatch class
Constructors
-
DocumentPatch({List<
Map< ? body, DocumentPatchFile? file, DocumentPatchPermission? permission, String? text, List<String, dynamic> >String> ? tags}) - Returns a new DocumentPatch instance.
Properties
-
body
↔ List<
Map< ?String, dynamic> > -
getter/setter pair
- file ↔ DocumentPatchFile?
-
getter/setter pair
- hashCode → int
-
The hash code for this object.
no setteroverride
- permission ↔ DocumentPatchPermission?
-
getter/setter pair
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
-
getter/setter pair
- text ↔ String?
-
getter/setter pair
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(
Map< String, dynamic> ? json) → DocumentPatch? -
Returns a new DocumentPatch instance and imports its values from
json
if it's non-null, null ifjson
is null. -
listFromJson(
List? json) → List< DocumentPatch> -
mapFromJson(
Map< String, dynamic> ? json) → Map<String, DocumentPatch> -
mapListFromJson(
Map< String, dynamic> ? json) → Map<String, List< DocumentPatch> >