AsyncContentBodyMediaToken.fromJson constructor
Implementation
factory AsyncContentBodyMediaToken.fromJson(Map<String, Object?> json) {
return AsyncContentBodyMediaToken(
collectionIds: (json[r'collectionIds'] as List<Object?>?)
?.map((i) => i as String? ?? '')
.toList() ??
[],
contentId: json[r'contentId'] as String?,
expiryDateTime: json[r'expiryDateTime'] as String?,
fileIds: (json[r'fileIds'] as List<Object?>?)
?.map((i) => i as String? ?? '')
.toList() ??
[],
token: json[r'token'] as String?,
);
}