Paint.fromJson constructor Null safety

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

Implementation

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