SerializationOptions.fromJson constructor
SerializationOptions.fromJson(
- Map<String, dynamic> json
)
Implementation
factory SerializationOptions.fromJson(Map<String, dynamic> json) {
return SerializationOptions(
serialization: SerializationOptionsSerialization.fromJson(
json['serialization'] as String),
maxDepth: json.containsKey('maxDepth') ? json['maxDepth'] as int : null,
additionalParameters: json.containsKey('additionalParameters')
? json['additionalParameters'] as Map<String, dynamic>
: null,
);
}