GetInsightResult.fromJson constructor

GetInsightResult.fromJson(
  1. Map<String, dynamic> json
)

Implementation

factory GetInsightResult.fromJson(Map<String, dynamic> json) {
  return GetInsightResult(
    insight: json['Insight'] != null
        ? Insight.fromJson(json['Insight'] as Map<String, dynamic>)
        : null,
  );
}