GetComponentResponse.fromJson constructor

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

Implementation

factory GetComponentResponse.fromJson(Map<String, dynamic> json) {
  return GetComponentResponse(
    component: json['component'] != null
        ? Component.fromJson(json['component'] as Map<String, dynamic>)
        : null,
    requestId: json['requestId'] as String?,
  );
}