ResponseStatus.fromJson constructor
ResponseStatus.fromJson(
- dynamic json
Factory method to create a ResponseStatus from a JSON json
object.
Implementation
factory ResponseStatus.fromJson(dynamic json) {
return ResponseStatus(
json['status'] as String,
json['message'] as String,
json['data'] as String?,
);
}