toJson method

Map<String, dynamic> toJson()

Implementation

Map<String, dynamic> toJson() {
  final optionGroupName = this.optionGroupName;
  final status = this.status;
  return {
    if (optionGroupName != null) 'OptionGroupName': optionGroupName,
    if (status != null) 'Status': status,
  };
}