toJson method

Map<String, dynamic> toJson()

Implementation

Map<String, dynamic> toJson() {
  final Map<String, dynamic> map = <String, dynamic>{};
  _permissionsById.forEach((String user, _ACLPermissions permission) {
    map[user] = permission.toJson();
  });
  return map;
}