Album.fromJson constructor
Album.fromJson(
- Map json_
Implementation
Album.fromJson(core.Map json_)
: this(
coverPhotoBaseUrl: json_.containsKey('coverPhotoBaseUrl')
? json_['coverPhotoBaseUrl'] as core.String
: null,
coverPhotoMediaItemId: json_.containsKey('coverPhotoMediaItemId')
? json_['coverPhotoMediaItemId'] as core.String
: null,
id: json_.containsKey('id') ? json_['id'] as core.String : null,
isWriteable: json_.containsKey('isWriteable')
? json_['isWriteable'] as core.bool
: null,
mediaItemsCount: json_.containsKey('mediaItemsCount')
? json_['mediaItemsCount'] as core.String
: null,
productUrl: json_.containsKey('productUrl')
? json_['productUrl'] as core.String
: null,
shareInfo: json_.containsKey('shareInfo')
? ShareInfo.fromJson(
json_['shareInfo'] as core.Map<core.String, core.dynamic>)
: null,
title:
json_.containsKey('title') ? json_['title'] as core.String : null,
);