PhpSerializationObjectInformation<T extends Object> class

Contains information about complex objects which can be (de-)serialized

A List of these can be passed to phpSerialize and phpDeserialize

Constructors

PhpSerializationObjectInformation(String serializedClassName, {T objectGenerator(Map<String, dynamic> map)?, Map<String, dynamic> dataExtractor(Object instance)?})
const

Properties

dataExtractor → (Map<String, dynamic> Function(Object instance)?)
Function which receives an instance of an object and generates a Map which contains all the properties of the Php-object.
final
hashCode int
The hash code for this object.
no setterinherited
objectGenerator → (T Function(Map<String, dynamic> map)?)
Function which receives a Map of all the serialized properties and generates the resulting object in Dart.
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
serializedClassName String
Full Qualified Class Name (FQCN) that has to be used in Php to identify the class of the serialized object.
final
typeOf Type
no setter

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