fromJson method Null safety

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

Deserializes the result from JSON.

Implementation

static RequestDataResult fromJson(Map<String, dynamic> json) {
  return RequestDataResult(json['message'] as String);
}