toJson method
Implementation
String toJson() => jsonEncode({
'success': success,
'error': error,
'data': data,
'transaction': action
});
String toJson() => jsonEncode({
'success': success,
'error': error,
'data': data,
'transaction': action
});