push static method
Implementation
static Future<bool> push({required AATemplate template}) async {
final bool? isCompleted = await _androidAutoController
.flutterToNativeModule(FAAChannelTypes.pushTemplate, <String, dynamic>{
'template': template.toJson(),
'runtimeType': _getAARuntimeTypeString(template),
});
if (isCompleted == true) {
FlutterAndroidAutoController.templateHistory.add(template);
}
return isCompleted ?? false;
}