ContentBodyMediaToken.fromJson constructor
Implementation
factory ContentBodyMediaToken.fromJson(Map<String, Object?> json) {
return ContentBodyMediaToken(
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?,
);
}