fromJson static method
Implementation
static RiskAnalytics fromJson(dynamic json) {
var geoDataJson = json['geoData'];
GeoData? geoData;
if (geoDataJson != null) {
geoData = GeoData.fromJson(geoDataJson);
}
return RiskAnalytics(json['riskStatus'] as String?,
json['riskFlagString'] as String?, geoData);
}