getHiddenFeatures method

  1. @override
Future<List<MPFeatureType>> getHiddenFeatures()
override

Implementation

@override
Future<List<MPFeatureType>> getHiddenFeatures() async {
  var ret = <MPFeatureType>[];
  final res = (await mapControlMethodChannel
      .invokeListMethod<int>("MPC_getHiddenFeatures"));
  if (res == null) {
    return [];
  }
  for (int value in res) {
    ret.add(MPFeatureType.fromValue(value));
  }
  return ret;
}