MetadataV2p3Wrapper constructor

MetadataV2p3Wrapper(
  1. MetadataV2Body body
)

Implementation

MetadataV2p3Wrapper(super.body)
    : assert(body is MetadataV2p3Body),
      title = MetadataProperty((body as MetadataV2p3Body).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());