toJson method

Map<String, dynamic> toJson()

Implementation

Map<String, dynamic> toJson() {
  final groups = this.groups;
  final include = this.include;
  return {
    if (groups != null) 'Groups': groups,
    if (include != null) 'Include': include.toValue(),
  };
}