CustomWidget.fromJson constructor Null safety

CustomWidget.fromJson(
  1. Map<String, dynamic> json
)

Implementation

factory CustomWidget.fromJson(Map<String, dynamic> json) =
    _$CustomWidget.fromJson;