DescribeNodeAssociationStatusResponse.fromJson constructor

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

Implementation

factory DescribeNodeAssociationStatusResponse.fromJson(
    Map<String, dynamic> json) {
  return DescribeNodeAssociationStatusResponse(
    engineAttributes: (json['EngineAttributes'] as List?)
        ?.whereNotNull()
        .map((e) => EngineAttribute.fromJson(e as Map<String, dynamic>))
        .toList(),
    nodeAssociationStatus:
        (json['NodeAssociationStatus'] as String?)?.toNodeAssociationStatus(),
  );
}