PreferredSizeWidget.fromJson constructor Null safety

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

Implementation

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