MetadataV2_4Wrapper constructor

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

Implementation

MetadataV2_4Wrapper(super.body, {this.tagRestrictions})
    : assert(body is MetadataV2_4Body),
      title = MetadataProperty((body as MetadataV2_4Body).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());