Counter.fromJson constructor Null safety

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