fromMap static method

MusicSubscription fromMap(
  1. Map<String, dynamic> map
)

Implementation

static MusicSubscription fromMap(Map<String, dynamic> map) {
  return MusicSubscription(
    canBecomeSubscriber: map["canBecomeSubscriber"] as bool?,
    canPlayCatalogContent: map["canPlayCatalogContent"] as bool?,
    hasCloudLibraryEnabled: map["hasCloudLibraryEnabled"] as bool?,
  );
}