Dart APIunself_modelUnionListUnionList const constructor UnionList constructor Null safety const UnionList(List<String> names, {String key} ) Implementation const factory UnionList(final List<String> names, {final String key}) = _$UnionList; unself_model unself_model UnionList UnionList const constructor UnionList class Constructors UnionList fromJson Properties copyWith hashCode key names runtimeType schema Methods doCallback map mapOrNull maybeMap maybeWhen noSuchMethod toJson toString when whenOrNull Operators operator ==