AutopilotCompatibilityIssue.fromJson constructor

AutopilotCompatibilityIssue.fromJson(
  1. Map json_
)

Implementation

AutopilotCompatibilityIssue.fromJson(core.Map json_)
    : this(
        constraintType: json_.containsKey('constraintType')
            ? json_['constraintType'] as core.String
            : null,
        description: json_.containsKey('description')
            ? json_['description'] as core.String
            : null,
        documentationUrl: json_.containsKey('documentationUrl')
            ? json_['documentationUrl'] as core.String
            : null,
        incompatibilityType: json_.containsKey('incompatibilityType')
            ? json_['incompatibilityType'] as core.String
            : null,
        lastObservation: json_.containsKey('lastObservation')
            ? json_['lastObservation'] as core.String
            : null,
        subjects: json_.containsKey('subjects')
            ? (json_['subjects'] as core.List)
                .map((value) => value as core.String)
                .toList()
            : null,
      );