WriteInsightRequest.fromJson constructor

WriteInsightRequest.fromJson(
  1. Map json_
)

Implementation

WriteInsightRequest.fromJson(core.Map json_)
    : this(
        agentVersion: json_.containsKey('agentVersion')
            ? json_['agentVersion'] as core.String
            : null,
        insight: json_.containsKey('insight')
            ? Insight.fromJson(
                json_['insight'] as core.Map<core.String, core.dynamic>)
            : null,
        requestId: json_.containsKey('requestId')
            ? json_['requestId'] as core.String
            : null,
      );