toJson method

Map<String, dynamic> toJson()

Implementation

Map<String, dynamic> toJson() {
  final groupOwner = this.groupOwner;
  final groupPermission = this.groupPermission;
  return {
    'GroupOwner': groupOwner,
    'GroupPermission': groupPermission.toValue(),
  };
}