getRoles method

Future<List<KuzzleRole>> getRoles()

Implementation

Future<List<KuzzleRole>> getRoles() async {
  if (policies == null || policies!.isEmpty) {
    return <KuzzleRole>[];
  }

  return kuzzle.security.mGetRoles(roleIds);
}