toJson method

Map<String, dynamic> toJson()

Implementation

Map<String, dynamic> toJson() {
  final map = <String, dynamic>{};
  if (_activeList != null) {
    map['userList'] = _activeList?.map((v) => v.toJson()).toList();
  }
  return map;
}