toJson method

Map<String, dynamic> toJson()

Converts this DigitalWalletResponse instance to a JSON map.

This method is used to serialize the response object for storage, transmission, or debugging purposes.

Returns

A Map<String, dynamic> containing the response data.

Implementation

Map<String, dynamic> toJson() {
  return {'message': message, 'status': status};
}