Result.fromJson constructor Null safety

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

Implementation

Result.fromJson(Map<String, dynamic> json) {
  result = json['result'];
}