InstrumentResponse.fromJson constructor

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

Implementation

factory InstrumentResponse.fromJson(Map<String, dynamic> json) {
  return InstrumentResponse(
    type: json['type'] as String,
    redirectInfo:
        RedirectInfo.fromJson(json['redirectInfo'] as Map<String, dynamic>),
  );
}