toJson method

String toJson()

get json string from ScanModel.

Implementation

String toJson() => json.encode(toMap());