GetNamespaceDeletionStatusResponse.fromJson constructor

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

Implementation

factory GetNamespaceDeletionStatusResponse.fromJson(
    Map<String, dynamic> json) {
  return GetNamespaceDeletionStatusResponse(
    errorCode:
        (json['errorCode'] as String?)?.toNamespaceDeletionStatusErrorCodes(),
    errorMessage: json['errorMessage'] as String?,
    namespaceArn: json['namespaceArn'] as String?,
    namespaceName: json['namespaceName'] as String?,
    status: (json['status'] as String?)?.toNamespaceDeletionStatus(),
  );
}