toJson method

Map<String, dynamic> toJson()

Implementation

Map<String, dynamic> toJson() {
  return {
    'code': code,
    'message': message,
    'message_kh': messageKh,
    'data': data!.toJson(),
  };
}