TRequestBody.fromJson constructor
Creates an instance from a JSON map
Implementation
factory TRequestBody.fromJson(Map<String, dynamic> json) {
return TRequestBody(
description: json['description'] as String?,
content: json['content'] == null
? null
: MediaTypeContent.fromJson(
json['content'] as Map<String, dynamic>,
),
);
}