toJson method
String?
toJson({
- List<
AbsDocumentSerialize> customSerializeParser = const [], - AttributionSerializeBuilder? attributionSerializeBuilder,
文档转为Json
Implementation
String? toJson({
List<AbsDocumentSerialize> customSerializeParser = const [],
AttributionSerializeBuilder? attributionSerializeBuilder,
}) {
var dynamicJson = documentSerialize(
this,
customSerializeParser: customSerializeParser,
attributionSerializeBuilder: attributionSerializeBuilder,
);
return jsonEncode(dynamicJson);
}