JsonComment constructor
JsonComment({
- Map<
String, dynamic> args = const {}, - JsonWidgetRegistry? registry,
- String? comment,
- List? comments,
- JsonWidgetData? child,
Implementation
JsonComment({
Map<String, dynamic> args = const {},
JsonWidgetRegistry? registry,
this.comment,
this.comments,
this.child,
}) : super(
jsonWidgetArgs: JsonCommentBuilderModel.fromDynamic(
{
'comment': comment,
'comments': comments,
'child': child,
...args,
},
args: args,
registry: registry,
),
jsonWidgetBuilder: () => JsonCommentBuilder(
args: JsonCommentBuilderModel.fromDynamic(
{
'comment': comment,
'comments': comments,
'child': child,
...args,
},
args: args,
registry: registry,
),
),
jsonWidgetType: JsonCommentBuilder.kType,
);