DashboardProfile.fromJson constructor

DashboardProfile.fromJson(
  1. Map<String, dynamic> json
)

Implementation

DashboardProfile.fromJson(Map<String, dynamic> json)
    : this.id = json['id'].toString(),
      this.name = ifNullReturnEmpty(json['name']),
      this.data = DashboardProfileData.fromJson(json['data']);