MaterialColor.fromJson constructor Null safety

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

Implementation

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