toJson method

Map<String, dynamic> toJson()

Implementation

core.Map<core.String, core.dynamic> toJson() => {
      if (code != null) 'code': code!,
      if (ddl != null) 'ddl': ddl!,
      if (entityType != null) 'entityType': entityType!,
      if (id != null) 'id': id!,
      if (message != null) 'message': message!,
      if (position != null) 'position': position!,
      if (severity != null) 'severity': severity!,
      if (type != null) 'type': type!,
    };