ValidationCheckResult.fromJson constructor

ValidationCheckResult.fromJson(
  1. Map json_
)

Implementation

ValidationCheckResult.fromJson(core.Map json_)
    : this(
        category: json_.containsKey('category')
            ? json_['category'] as core.String
            : null,
        description: json_.containsKey('description')
            ? json_['description'] as core.String
            : null,
        details: json_.containsKey('details')
            ? json_['details'] as core.String
            : null,
        reason: json_.containsKey('reason')
            ? json_['reason'] as core.String
            : null,
        state:
            json_.containsKey('state') ? json_['state'] as core.String : null,
      );