ActionBlockDeclaration constructor
ActionBlockDeclaration({})
Implementation
ActionBlockDeclaration({
required this.name,
required this.key,
required this.scope,
required this.ownerWidgetClassName,
Map<String, DslType>? params,
this.returns,
List<DslAction>? actions,
this.description = '',
}) : params = UnmodifiableMapView(
Map<String, DslType>.from(params ?? const {}),
),
actions = List.unmodifiable(actions ?? const <DslAction>[]);