yx_speech_to_text_flutter/ios/Classes/YxAsrPlugin.m

16 lines
516 B
Objective-C

#import "YxAsrPlugin.h"
#if __has_include(<yx_asr/yx_asr-Swift.h>)
#import <yx_asr/yx_asr-Swift.h>
#else
// Support project import fallback if the generated compatibility header
// is not copied when this plugin is created as a library.
// https://forums.swift.org/t/swift-static-libraries-dont-copy-generated-objective-c-header/19816
#import "yx_asr-Swift.h"
#endif
@implementation YxAsrPlugin
+ (void)registerWithRegistrar:(NSObject<FlutterPluginRegistrar>*)registrar {
[YxAsrPlugin register:registrar];
}
@end