Commit 8f5e0c6d authored by 汪林玲's avatar 汪林玲

Scheme实体类中增加toJson

parent 3e7a8316
......@@ -15,4 +15,16 @@ class SchemeEntity {
this.source,
this.dataString,
});
Map<String, dynamic> toJson() {
return {
'scheme': scheme,
'host': host,
'port': port,
'path': path,
'query': query,
'source': source,
'dataString': dataString
};
}
}
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment