MetadataV2_3Wrapper constructor

MetadataV2_3Wrapper(
  1. MetadataV2Body body
)

Implementation

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