toJson method

Map<String, dynamic> toJson()

Implementation

core.Map<core.String, core.dynamic> toJson() => {
      if (createTime != null) 'createTime': createTime!,
      if (error != null) 'error': error!,
      if (resource != null) 'resource': resource!,
      if (scoringResult != null) 'scoringResult': scoringResult!,
    };