CharacterSetECI constructor

CharacterSetECI(
  1. String name,
  2. dynamic value, [
  3. dynamic otherEncodingNames
])

Implementation

CharacterSetECI(this.name, dynamic value, [dynamic otherEncodingNames])
    : _indexes = (value is int) ? [value] : value as List<int>,
      _otherEncodingNames =
          (otherEncodingNames == null || otherEncodingNames is String)
              ? [if (otherEncodingNames != null) otherEncodingNames]
              : otherEncodingNames as List<String>;