// To parse this JSON data, do
//
//     final jumlahBadge = jumlahBadgeFromJson(jsonString);

import 'dart:convert';

JumlahBadge jumlahBadgeFromJson(String str) => JumlahBadge.fromJson(json.decode(str));

String jumlahBadgeToJson(JumlahBadge data) => json.encode(data.toJson());

class JumlahBadge {
    bool? success;
    String? message;
    int? data;

    JumlahBadge({
        this.success,
        this.message,
        this.data,
    });

    factory JumlahBadge.fromJson(Map<String, dynamic> json) => JumlahBadge(
        success: json["success"],
        message: json["message"],
        data: json["data"],
    );

    Map<String, dynamic> toJson() => {
        "success": success,
        "message": message,
        "data": data,
    };
}
