ContentIdToContentTypeRequest.fromJson constructor

ContentIdToContentTypeRequest.fromJson(
  1. Map<String, Object?> json
)

Implementation

factory ContentIdToContentTypeRequest.fromJson(Map<String, Object?> json) {
  return ContentIdToContentTypeRequest(
    contentIds:
        (json[r'contentIds'] as List<Object?>?)?.map((i) => i).toList() ?? [],
  );
}