getSubscribedChannels method
Returns an <List
Implementation
Future<List<dynamic>> getSubscribedChannels() async {
print('getSubscribedChannels');
final ParseResponse apiResponse =
await ParseObject(keyClassInstallation).getObject(objectId!);
if (apiResponse.success) {
final ParseObject installation = apiResponse.result;
return Future<List<dynamic>>.value(installation
.get<List<dynamic>>('channels', defaultValue: <dynamic>[]));
} else {
return <String>[];
}
}