categorize method
Implementation
Future<Null> categorize(ResourceType type, bool shouldCategorize) async {
Map<String, dynamic> args = <String, dynamic>{};
args.putIfAbsent("type", () => type.index);
args.putIfAbsent("should_categorize", () => shouldCategorize);
await _channel.invokeMethod('categorize', args);
}