FileDataEndPoint class Null safety

Specify an endpoint where a file-based DataManager can store JSON data as files on the local device.

Inheritance
Annotations

Constructors

FileDataEndPoint({String type = DataEndPointTypes.FILE, String dataFormat = NameSpace.CARP, int bufferSize = 500 * 1000, bool zip = true, bool encrypt = false, String? publicKey})
Creates a FileDataEndPoint. [...]
FileDataEndPoint.fromJson(Map<String, dynamic> json)
Create a FileDataEndPoint from a JSON map.
factory

Properties

$type String?
The runtime class name (type) of this object. Used for deserialization from JSON objects.
read / write, inherited
bufferSize int
The buffer size of the raw JSON file in bytes. [...]
read / write
dataFormat String
The preferred format of the data to be uploaded according to NameSpace. Default using the NameSpace.CARP.
read / write, inherited
encrypt bool
Is data to be encrypted before storing. False as default. [...]
read / write
fromJsonFunction Function
The function which can transform this FileDataEndPoint into JSON. [...]
read-only, override
hashCode int
The hash code for this object. [...]
read-only, inherited
jsonType String
Return the $type to be used for JSON serialization of this class. Default is runtimeType. Only specify this if you need another type.
read-only, inherited
publicKey String?
If encrypt is true, this should hold the public key in a RSA KPI encryption of data.
read / write
runtimeType Type
A representation of the runtime type of the object.
read-only, inherited
type String
The type of endpoint as enumerated in DataEndPointTypes.
read / write, inherited
zip bool
Is data to be compressed (zipped) before storing in a file. True as default. [...]
read / write

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed. [...]
inherited
toJson() Map<String, dynamic>
Serialize this FileDataEndPoint as a JSON map.
override
toString() String
A string representation of this object. [...]
override

Operators

operator ==(Object other) bool
The equality operator. [...]
inherited