setTemplate method

  1. @override
Future<int> setTemplate(
  1. TemplateType templateType
)
override

Implementation

@override
Future<int> setTemplate(TemplateType templateType) async {
  int templateValue = templateType.id;
  final ret = await methodChannel.invokeMethod(
      PluginFunctionInterfaceConstants.FPS_SET_TEMPLATE, templateValue);
  return ret;
}