serialize method
Serializes the object to a map.
Implementation
@override
Map<String, dynamic> serialize() {
return {
"maxBufferSize": maxBufferSize,
"maxDepth": maxDepth,
"authority": authority,
"creationSlot": creationSlot,
"padding": padding
};
}