toJson method

Map<String, dynamic> toJson()

Implementation

Map<String, dynamic> toJson() {
  final berkshelfVersion = this.berkshelfVersion;
  final manageBerkshelf = this.manageBerkshelf;
  return {
    if (berkshelfVersion != null) 'BerkshelfVersion': berkshelfVersion,
    if (manageBerkshelf != null) 'ManageBerkshelf': manageBerkshelf,
  };
}