RequestBody.fromJson constructor

RequestBody.fromJson(
  1. Map json
)

Implementation

factory RequestBody.fromJson(Map<dynamic, dynamic> json) {
  return RequestBody(command: json['command'], parameter: json['parameter']);
}