MetadataV2p4Wrapper constructor

MetadataV2p4Wrapper(
  1. MetadataV2Body body, {
  2. TagRestrictions? tagRestrictions,
})

Implementation

MetadataV2p4Wrapper(super.body, {this.tagRestrictions})
    : assert(body is MetadataV2p4Body),
      title = MetadataProperty((body as MetadataV2p4Body).title),
      artist = MetadataProperty(body.artist),
      album = MetadataProperty(body.album),
      encoding = MetadataProperty(body.encoding),
      imageBytes = MetadataProperty(body.imageBytes),
      userDefines = MetadataProperty(
          body.userDefines?.entries.map((e) => MetadataProperty(e)).toList());