UpdatePresetResponse.fromJson constructor

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

Implementation

factory UpdatePresetResponse.fromJson(Map<String, dynamic> json) {
  return UpdatePresetResponse(
    preset: json['preset'] != null
        ? Preset.fromJson(json['preset'] as Map<String, dynamic>)
        : null,
  );
}