Insight.fromJson constructor

Insight.fromJson(
  1. Map json_
)

Implementation

Insight.fromJson(core.Map json_)
    : this(
        genericInsight: json_.containsKey('genericInsight')
            ? GenericInsight.fromJson(json_['genericInsight']
                as core.Map<core.String, core.dynamic>)
            : null,
        migrationInsight: json_.containsKey('migrationInsight')
            ? MigrationInsight.fromJson(json_['migrationInsight']
                as core.Map<core.String, core.dynamic>)
            : null,
      );