GetResponseBodyResult.fromJson constructor

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

Implementation

factory GetResponseBodyResult.fromJson(Map<String, dynamic> json) {
  return GetResponseBodyResult(
    body: json['body'] as String,
    base64Encoded: json['base64Encoded'] as bool? ?? false,
  );
}