EntityIssue.fromJson constructor

EntityIssue.fromJson(
  1. Map json_
)

Implementation

EntityIssue.fromJson(core.Map json_)
    : this(
        code: json_.containsKey('code') ? json_['code'] as core.String : null,
        ddl: json_.containsKey('ddl') ? json_['ddl'] as core.String : null,
        entityType: json_.containsKey('entityType')
            ? json_['entityType'] as core.String
            : null,
        id: json_.containsKey('id') ? json_['id'] as core.String : null,
        message: json_.containsKey('message')
            ? json_['message'] as core.String
            : null,
        position: json_.containsKey('position')
            ? Position.fromJson(
                json_['position'] as core.Map<core.String, core.dynamic>)
            : null,
        severity: json_.containsKey('severity')
            ? json_['severity'] as core.String
            : null,
        type: json_.containsKey('type') ? json_['type'] as core.String : null,
      );