BodyType.fromJson constructor

BodyType.fromJson(
  1. Map<String, Object?> json
)

Implementation

factory BodyType.fromJson(Map<String, Object?> json) {
  return BodyType(
    representation: json[r'representation'] as String?,
    value: json[r'value'] as String?,
  );
}