ReleasePackerEntry constructor

ReleasePackerEntry({
  1. Object? platform,
})

Implementation

ReleasePackerEntry({Object? platform})
    : platforms = platform == null
          ? <RegExp>[]
          : (platform is List
              ? platform.where((e) => e != null).map(_toRegExp).toList()
              : <RegExp>[_toRegExp(platform)]);