AddEnrichmentToAlbumRequest.fromJson constructor

AddEnrichmentToAlbumRequest.fromJson(
  1. Map json_
)

Implementation

AddEnrichmentToAlbumRequest.fromJson(core.Map json_)
    : this(
        albumPosition: json_.containsKey('albumPosition')
            ? AlbumPosition.fromJson(
                json_['albumPosition'] as core.Map<core.String, core.dynamic>)
            : null,
        newEnrichmentItem: json_.containsKey('newEnrichmentItem')
            ? NewEnrichmentItem.fromJson(json_['newEnrichmentItem']
                as core.Map<core.String, core.dynamic>)
            : null,
      );