AlbumPosition.fromJson constructor

AlbumPosition.fromJson(
  1. Map json_
)

Implementation

AlbumPosition.fromJson(core.Map json_)
    : this(
        position: json_.containsKey('position')
            ? json_['position'] as core.String
            : null,
        relativeEnrichmentItemId:
            json_.containsKey('relativeEnrichmentItemId')
                ? json_['relativeEnrichmentItemId'] as core.String
                : null,
        relativeMediaItemId: json_.containsKey('relativeMediaItemId')
            ? json_['relativeMediaItemId'] as core.String
            : null,
      );