DashboardGadgetUpdateRequest.fromJson constructor
Implementation
factory DashboardGadgetUpdateRequest.fromJson(Map<String, Object?> json) {
return DashboardGadgetUpdateRequest(
color: json[r'color'] as String?,
position: json[r'position'] != null
? DashboardGadgetPosition.fromJson(
json[r'position']! as Map<String, Object?>)
: null,
title: json[r'title'] as String?,
);
}