//
//  LSBasicUserInfo+RCTNativeModel.m
//  ReactLightspeedSDK
//
//  Created by marc matta on 10/23/17.
//  Copyright © 2017 com.lightspeed. All rights reserved.
//

#import "LSBasicUserInfo+RCTNativeModel.h"
#import <React/RCTUtils.h>

@implementation LSBasicUserInfo (RCTNativeModel)
- (NSDictionary *)reactNativeRepresentation {
    return @{@"panelistId": @(RCTZeroIfNaN(self.panelistId)),
             @"firstName": RCTNullIfNil(self.firstName),
             @"lastName": RCTNullIfNil(self.lastName)
             };
}

@end
