toJson method

Map<String, dynamic> toJson()

Implementation

core.Map<core.String, core.dynamic> toJson() => {
      if (argument != null) 'argument': argument!,
      if (code != null) 'code': code!,
      if (debugInfo != null) 'debugInfo': debugInfo!,
      if (domain != null) 'domain': domain!,
      if (externalErrorMessage != null)
        'externalErrorMessage': externalErrorMessage!,
      if (location != null) 'location': location!,
      if (locationType != null) 'locationType': locationType!,
    };