ProductVisibility.fromJson constructor

ProductVisibility.fromJson(
  1. Map json_
)

Implementation

ProductVisibility.fromJson(core.Map json_)
  : this(
      productId: json_['productId'] as core.String?,
      trackIds: (json_['trackIds'] as core.List?)
          ?.map((value) => value as core.String)
          .toList(),
      tracks: (json_['tracks'] as core.List?)
          ?.map((value) => value as core.String)
          .toList(),
    );