Widget.fromJson constructor Null safety

Widget.fromJson(
  1. Map<String, Object?> json
)

Implementation

factory Widget.fromJson(Map<String, Object?> json) => _$WidgetFromJson(json);