EffectStyle constructor
EffectStyle({
- String? type,
- ReadonlyArray<
Object> ? effects, - dynamic boundVariables,
- String? id,
- List<
StyleConsumers> ? consumers, - String? name,
- Future<
List< getStyleConsumersAsync()?,StyleConsumers> > - void remove()?,
Implementation
factory EffectStyle({
_i2.String? type,
_i4.ReadonlyArray<_i2.Object>? effects,
_i2.dynamic boundVariables,
_i2.String? id,
_i2.List<_i3.StyleConsumers>? consumers,
_i2.String? name,
_i2.Future<_i2.List<_i3.StyleConsumers>> Function()? getStyleConsumersAsync,
void Function()? remove,
}) =>
EffectStyle._(
type: type,
effects: effects ?? _i7.undefined,
boundVariables: boundVariables,
id: id,
consumers: consumers,
name: name,
getStyleConsumersAsync: getStyleConsumersAsync == null
? null
: _i5.allowInterop(getStyleConsumersAsync),
remove: remove == null ? null : _i5.allowInterop(remove),
);