codes property

Map<String, int> codes
final

Implementation

static final Map<String, int> codes  = {
'OK':200,
'SUCCESS':100,
"OPERATION_ERROR":-1,
"NOT_FOUND":404,
'BAD_REQUEST':400,
'INVALID_CREDENTIALS':1005,
'INVALID_PARAMS':1002,
'EXPIRED_TOKEN':1003,
'INVALID_TOKEN':1004,
'TRANSACTION_EXIST':1200,
'INITIATED':2001,
'PENDING':2002,
'EXPIRED':2003,
'OTP_ERROR':2004,
'OTP_EXPIRED':2008,
'INSUFFICIENT_BALANCE':2005,
'USER_NOT_FOUND':2006,
'USER_IS_BLOCKED':2007,
'FAILED':2010,
'NOT_ALLOWED':2011,
'CANCELLED' : 2012,
'UNIMPLEMENTED' : 2013
};