toDbJson method

Map<String, Object?> toDbJson({
  1. List<String> excepts = const [],
})

Implementation

Map<String, Object?> toDbJson({List<String> excepts = const []}) {
  final json = toJson(excepts: excepts);
  json["peerOnline"] = peerOnline ? 1 : 0;
  return json;
}