//
//  NSObject+ResultManager.h
//  gengmei_flutter_plugin
//
//  Created by Apple on 2019/9/25.
//

#import <Foundation/Foundation.h>
#import <Flutter/Flutter.h>
#import <UIKit/UIKit.h>

@interface ResultManager : NSObject
+ (instancetype)sharedSingleton;
-(void) addResult:(NSNumber*)key :(FlutterResult)result;

-(void)resultSuccess:(NSNumber*)key :(id _Nullable)value;

-(void)resultError:(NSNumber*)key :(NSString*)reason :(NSObject*)value;
@end

