List<User> get users { try { if (rawData["users"] is List == false) { return []; } return (rawData["users"] as List) .map((e) => User(e as Map)) .toList() .cast<User>(); } catch (e) { return []; } }