toJson method

Map<String, dynamic> toJson()

Implementation

core.Map<core.String, core.dynamic> toJson() => {
      if (attributes != null) 'attributes': attributes!,
      if (contentLanguage != null) 'contentLanguage': contentLanguage!,
      if (destinationStatuses != null)
        'destinationStatuses': destinationStatuses!,
      if (issues != null) 'issues': issues!,
      if (name != null) 'name': name!,
      if (parent != null) 'parent': parent!,
      if (productId != null) 'productId': productId!,
      if (targetCountry != null) 'targetCountry': targetCountry!,
    };