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

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

@implementation LSSingleAchievement (RCTNativeModel)

- (NSDictionary *)reactNativeRepresentation {
    return @{@"achievement":RCTNullIfNil([self.achievement reactNativeRepresentation]),
             @"totalPoints":RCTNullIfNil(self.totalPoints)};
}

@end
