toJson method

Map<String, dynamic> toJson()

Implementation

core.Map<core.String, core.dynamic> toJson() => {
      if (artifactUri != null) 'artifactUri': artifactUri!,
      if (build != null) 'build': build!,
      if (eventLogPath != null) 'eventLogPath': eventLogPath!,
      if (failureCause != null) 'failureCause': failureCause!,
      if (failureMessage != null) 'failureMessage': failureMessage!,
    };