get ScanModel from json string.
factory ScanModel.fromJson(String source) => ScanModel.fromMap(json.decode(source));