toJson method

Map<String, dynamic> toJson()

Implementation

core.Map<core.String, core.dynamic> toJson() => {
      if (downloadId != null) 'downloadId': downloadId!,
      if (variantId != null) 'variantId': variantId!,
    };