ListPresetsResponse.fromJson constructor
Implementation
factory ListPresetsResponse.fromJson(Map<String, dynamic> json) {
return ListPresetsResponse(
nextToken: json['nextToken'] as String?,
presets: (json['presets'] as List?)
?.whereNotNull()
.map((e) => Preset.fromJson(e as Map<String, dynamic>))
.toList(),
);
}