CreateAcceleratorResponse.fromJson constructor

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

Implementation

factory CreateAcceleratorResponse.fromJson(Map<String, dynamic> json) {
  return CreateAcceleratorResponse(
    accelerator: json['Accelerator'] != null
        ? Accelerator.fromJson(json['Accelerator'] as Map<String, dynamic>)
        : null,
  );
}