fromJson static method
Implementation
static WidgetQueryTypeData? fromJson(Map<String, dynamic>? json) {
if (json == null) {
return null;
}
return WidgetQueryTypeData(
withWallet: (json['with_wallet'] as bool?) ?? false,
);
}
static WidgetQueryTypeData? fromJson(Map<String, dynamic>? json) {
if (json == null) {
return null;
}
return WidgetQueryTypeData(
withWallet: (json['with_wallet'] as bool?) ?? false,
);
}