toJson method

Map<String, dynamic> toJson()

Implementation

core.Map<core.String, core.dynamic> toJson() => {
      if (comment != null) 'comment': comment!,
      if (compatibility != null) 'compatibility': compatibility!,
      if (height != null) 'height': height!,
      if (linkedPlacementId != null) 'linkedPlacementId': linkedPlacementId!,
      if (name != null) 'name': name!,
      if (paymentSourceType != null) 'paymentSourceType': paymentSourceType!,
      if (primary != null) 'primary': primary!,
      if (width != null) 'width': width!,
    };