// To parse this JSON data, do
//
//     final dashboardRespon = dashboardResponFromJson(jsonString);

import 'dart:convert';

DashboardRespon dashboardResponFromJson(String str) => DashboardRespon.fromJson(json.decode(str));

String dashboardResponToJson(DashboardRespon data) => json.encode(data.toJson());

class DashboardRespon {
  DashboardRespon({
    this.success,
    this.message,
    this.data,
  });

  bool? success;
  String? message;
  DataDashboard? data;

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

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

class DataDashboard {
  DataDashboard({
    this.logo,
  });

  String? logo;

  factory DataDashboard.fromJson(Map<String, dynamic> json) => DataDashboard(
    logo: json["logo"] == null ? null : json["logo"],
  );

  Map<String, dynamic> toJson() => {
    "logo": logo == null ? null : logo,
  };
}
