AnalyticResource.fromJson constructor
Implementation
AnalyticResource.fromJson(Map<String, dynamic> json)
: this.analyticId = json['analytic_id'].toString(),
this.resources = (json['resources'] as List).length > 0
? (json['resources'] as List)
.map((c) => Resource.fromJson(c))
.toList()
: [];