toJson method

Map<String, dynamic> toJson()

Implementation

core.Map<core.String, core.dynamic> toJson() {
  final angerLikelihood = this.angerLikelihood;
  final blurredLikelihood = this.blurredLikelihood;
  final boundingPoly = this.boundingPoly;
  final detectionConfidence = this.detectionConfidence;
  final fdBoundingPoly = this.fdBoundingPoly;
  final headwearLikelihood = this.headwearLikelihood;
  final joyLikelihood = this.joyLikelihood;
  final landmarkingConfidence = this.landmarkingConfidence;
  final landmarks = this.landmarks;
  final panAngle = this.panAngle;
  final rollAngle = this.rollAngle;
  final sorrowLikelihood = this.sorrowLikelihood;
  final surpriseLikelihood = this.surpriseLikelihood;
  final tiltAngle = this.tiltAngle;
  final underExposedLikelihood = this.underExposedLikelihood;
  return {
    'angerLikelihood': ?angerLikelihood,
    'blurredLikelihood': ?blurredLikelihood,
    'boundingPoly': ?boundingPoly,
    'detectionConfidence': ?detectionConfidence,
    'fdBoundingPoly': ?fdBoundingPoly,
    'headwearLikelihood': ?headwearLikelihood,
    'joyLikelihood': ?joyLikelihood,
    'landmarkingConfidence': ?landmarkingConfidence,
    'landmarks': ?landmarks,
    'panAngle': ?panAngle,
    'rollAngle': ?rollAngle,
    'sorrowLikelihood': ?sorrowLikelihood,
    'surpriseLikelihood': ?surpriseLikelihood,
    'tiltAngle': ?tiltAngle,
    'underExposedLikelihood': ?underExposedLikelihood,
  };
}