CreateCapacityProviderResponse.fromJson constructor

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

Implementation

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