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