toJson method

Map<String, dynamic> toJson()

Implementation

Map<String, dynamic> toJson() {
  final addOnType = this.addOnType;
  final autoSnapshotAddOnRequest = this.autoSnapshotAddOnRequest;
  return {
    'addOnType': addOnType.toValue(),
    if (autoSnapshotAddOnRequest != null)
      'autoSnapshotAddOnRequest': autoSnapshotAddOnRequest,
  };
}